package com.didi.gulimall.search.service;

import com.didi.gulimall.common.to.es.SkuEsModel;
import com.didi.gulimall.search.vo.SearchParam;
import com.didi.gulimall.search.vo.SearchResult;

import java.io.IOException;
import java.util.List;

public interface ElasticSaveService {
    /**
     * 上架
     * @param skuEsModels
     * @return
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;

    SearchResult listPage(SearchParam param);
}
